package com.mdd.maduoduo.entity;

public class ResponseBody<T> {

    private boolean success;
    private String msg;
    private T result;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getResult() {
        return result;
    }

    public void setResult(T result) {
        this.result = result;
    }

    @Override
    public String toString() {
        return "ResponseBody{" +
                "success='" + success + '\'' +
                ", msg='" + msg + '\'' +
                ", result=" + result +
                '}';
    }
}
